<?php
/**
 * Zend Framework
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://framework.zend.com/license/new-bsd
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@zend.com so we can send you a copy immediately.
 *
 * @category   Zend
 * @package    Zend_DataGrid
 * @subpackage Renderer
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 * @version    $Id: Console.php 8862 2008-09-26 15:36:00Z azoungrana $
 */


/** @see Zend_DataGrid_Renderer */
require_once 'Zend/DataGrid/Renderer.php';


/**
 * Zend_DataGrid_Renderer_Console
 *
 * This renderer generates nicely formatted and padded ASCII tables.
 *
 * @category   Zend
 * @package    Zend_DataGrid
 * @subpackage Renderer
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 */
class Zend_DataGrid_Renderer_Console extends Zend_DataGrid_Renderer
{
    protected $_options = array('showFooter' => true,
                                'showHeader' => true,
                                'defaultCellValue' => null,
                                'defaultColumnValues' => array(),
                                'encoding' => null,
                                'hideColumnLinks' => null,
                                'numberAlign' => null);

    /**
     * Whether to build the header
     *
     * @param boolean $value
     */
    public function setShowHeader($value) {}

    /**
     * Whether to build the footer.
     *
     * @param boolean $value
     */
    public function setShowFooter($value) {}

    /**
     * What value to put by default into empty cells.
     *
     * @param boolean $value
     */
    public function setDefaultCellValue($value) {}

    /**
     * Per-column default cell value. This is an array of the form: array(fieldName => value, ...).
     *
     * @param array $value
     */
    public function setDefaultColumnValues(array $value) {}

    /**
     * The content encoding. If the mbstring extension is present the default
     * value is set from mb_internal_encoding(), otherwise it is ISO-8859-1.
     *
     * @param string $value
     */
    public function setEncoding($value) {}

    /**
     * By default sorting links are enabled on all columns. With this option it is possible to
     * disable sorting links on specific columns. This is an array of the form: array(fieldName, ...).
     * This option only affects drivers that support sorting
     *
     * @param array $value
     */
    public function setHideColumnLinks($value) {}

    /**
     * Whether to right-align numeric values.
     *
     * @param boolean $value
     */
    public function setNumberAlign($value) {}


}
